<?php if (!defined('THINK_PATH')) exit();?>
<!DOCTYPE html>
<!--
BeyondAdmin - Responsive Admin Dashboard Template build with Twitter Bootstrap 3.3.4
Version: 1.4
Purchase: http://wrapbootstrap.com
-->

<html xmlns="http://www.w3.org/1999/xhtml">
<!-- Head -->

<!-- Mirrored from beyondadmin-v1.4.s3-website-us-east-1.amazonaws.com/tables-data.html by HTTrack Website Copier/3.x [XR&CO'2014], Thu, 07 May 2015 08:27:37 GMT -->
<head>
    <meta charset="utf-8" />
    <title>后台管理系统</title>

    <meta name="description" content="data tables" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <link rel="shortcut icon" href="/Public/assets/img/favicon.png" type="image/x-icon">

    <!--Basic Styles-->
    <link href="/Public/assets/css/bootstrap.min.css" rel="stylesheet" />
    <link id="bootstrap-rtl-link" href="#" rel="stylesheet" />
    <link href="/Public/assets/css/font-awesome.min.css" rel="stylesheet" />
    <link href="/Public/assets/css/weather-icons.min.css" rel="stylesheet" />

    <!--Fonts-->
    

    <!--Beyond styles-->
    <link id="beyond-link" href="/Public/assets/css/beyond.min.css" rel="stylesheet" />
    <link href="/Public/assets/css/demo.min.css" rel="stylesheet" />
    <link href="/Public/assets/css/typicons.min.css" rel="stylesheet" />
    <link href="/Public/assets/css/animate.min.css" rel="stylesheet" />
    <link id="skin-link" href="#" rel="stylesheet" type="text/css" />

    <!--Page Related styles-->
    <link href="/Public/assets/css/dataTables.bootstrap.css" rel="stylesheet" />

    <!--Skin Script: Place this script in head to load scripts for skins and rtl support-->

    <style type="text/css">
    	body{ overflow: hidden;}
		#rightMain{margin-left: 224px;}
    	.page-sidebar.menu-compact~#rightMain{ margin-left: 43px;}
    </style>
</head>
<!-- /Head -->
<!-- Body -->
<body>
    <!-- Loading Container -->
    <!--<div class="loading-container">
        <div class="loader"></div>
    </div>-->
    <!--  /Loading Container -->
    <!-- Navbar -->
    <div class="navbar">
        <div class="navbar-inner">
            <div class="navbar-container">
                <!-- Navbar Barnd -->
                <div class="navbar-header pull-left">
                    <a href="#" class="navbar-brand">
                        <small>
                            <img src="/Public/assets/img/logo.png" alt="" />
                        </small>
                    </a>
                </div>
                <!-- /Navbar Barnd -->
                <!-- Sidebar Collapse -->
                <div class="sidebar-collapse" id="sidebar-collapse">
                    <i class="collapse-icon fa fa-bars"></i>
                </div>
                <!-- /Sidebar Collapse -->
                <!-- Account Area and Settings --->
                <div class="navbar-header pull-right">
                    <div class="navbar-account">
                        <ul class="account-area">
                           
                            <li>
                                <a class="dropdown-toggle" data-toggle="dropdown" title="Mails" href="#">
                                    <i class="icon fa fa-envelope"></i>
                                    <span class="badge">0</span>
                                </a>
                                <!--Messages Dropdown-->
                                <ul class="pull-right dropdown-menu dropdown-arrow dropdown-messages">
                                    <li>
                                        
                                            <div class="message padding-bottom-20 padding-top-10">
                                               没有新信息
                                            </div>
                                    </li>
                                    
                                </ul>
                                <!--/Messages Dropdown-->
                            </li>

                            <li>
                                <a class="login-area dropdown-toggle" data-toggle="dropdown">
                                    <div class="avatar" title="View your public profile">
                                        <img src="/Public/assets/img/avatars/adam-jansen.jpg">
                                    </div>
                                    <section>
                                        <h2><span class="profile"><span>欢迎您：<?php echo ($adminInfo['username']); ?></span></span></h2>
                                    </section>
                                </a>
                                <!--Login Area Dropdown-->
                                <ul class="pull-right dropdown-menu dropdown-arrow dropdown-login-area">
                                    <li class="email"><a><?php echo ($adminInfo['group_name']); ?></a></li>
                                   
                                    <li class="edit">
                                        <a href="<?php echo U('/');?>" class="pull-left" target="_blank">网站首页</a>
                                        <a href="<?php echo U('index/password');?>" class="pull-right ajax-load">修改密码</a>
                                    </li>
                                    <!--Theme Selector Area-->
                                    <li class="theme-area">
                                        <ul class="colorpicker" id="skin-changer">
                                            <li><a class="colorpick-btn" href="#" style="background-color:#5DB2FF;" rel="/Public/assets/css/skins/blue.min.css"></a></li>
                                            <li><a class="colorpick-btn" href="#" style="background-color:#2dc3e8;" rel="/Public/assets/css/skins/azure.min.css"></a></li>
                                            <li><a class="colorpick-btn" href="#" style="background-color:#03B3B2;" rel="/Public/assets/css/skins/teal.min.css"></a></li>
                                            <li><a class="colorpick-btn" href="#" style="background-color:#53a93f;" rel="/Public/assets/css/skins/green.min.css"></a></li>
                                            <li><a class="colorpick-btn" href="#" style="background-color:#FF8F32;" rel="/Public/assets/css/skins/orange.min.css"></a></li>
                                            <li><a class="colorpick-btn" href="#" style="background-color:#cc324b;" rel="/Public/assets/css/skins/pink.min.css"></a></li>
                                            <li><a class="colorpick-btn" href="#" style="background-color:#AC193D;" rel="/Public/assets/css/skins/darkred.min.css"></a></li>
                                            <li><a class="colorpick-btn" href="#" style="background-color:#8C0095;" rel="/Public/assets/css/skins/purple.min.css"></a></li>
                                            <li><a class="colorpick-btn" href="#" style="background-color:#0072C6;" rel="/Public/assets/css/skins/darkblue.min.css"></a></li>
                                            <li><a class="colorpick-btn" href="#" style="background-color:#585858;" rel="/Public/assets/css/skins/gray.min.css"></a></li>
                                            <li><a class="colorpick-btn" href="#" style="background-color:#474544;" rel="/Public/assets/css/skins/black.min.css"></a></li>
                                            <li><a class="colorpick-btn" href="#" style="background-color:#001940;" rel="/Public/assets/css/skins/deepblue.min.css"></a></li>
                                        </ul>
                                    </li>
                                    <!--/Theme Selector Area-->
                                    <li class="dropdown-footer">
                                        <a href="<?php echo U('login/logout');?>" data-confirm="确定退出登陆？">
                                            	退出登陆
                                        </a>
                                    </li>
                                </ul>
                                <!--/Login Area Dropdown-->
                            </li>
                            <!-- /Account Area -->
                          
                        </ul>
                    </div>
                </div>
                <!-- /Account Area and Settings -->
            </div>
        </div>
    </div>
    <!-- /Navbar -->
    <!-- Main Container -->
    <div class="main-container container-fluid">
        <!-- Page Container -->
        <div class="page-container">
            <!-- Page Sidebar -->
            <div class="page-sidebar" id="sidebar">
                <!-- Page Sidebar Header-->
                <div class="sidebar-header-wrapper">
                    <input type="text" class="searchinput" />
                    <i class="searchicon fa fa-search"></i>
                    <div class="searchhelper">Search Reports, Charts, Emails or Notifications</div>
                </div>
                <!-- /Page Sidebar Header -->
                <!-- Sidebar Menu -->
                <ul class="nav sidebar-menu">
                	<?php echo ($menuHtml); ?>                    
                </ul>
                <!-- /Sidebar Menu -->
            </div>
            <!-- /Page Sidebar -->
           <iframe name="rightMain" id="rightMain" src="<?php echo U('dashboard/index');?>" frameborder="0" scrolling="auto" style=" background:#eee;" width="auto" height="auto" allowtransparency="true"></iframe>
        </div>
        <!-- /Page Container -->
        <!-- Main Container -->

    </div>

    <!--Basic Scripts-->
    <script src="/Public/assets/js/jquery.min.js"></script>
    <script src="/Public/assets/js/bootstrap.min.js"></script>
    <script src="/Public/assets/js/slimscroll/jquery.slimscroll.min.js"></script>
    <!--Beyond Scripts-->
    <script src="/Public/assets/js/beyond.js"></script>
    <script src="/Public/assets/js/bootbox/bootbox.js"></script>
    <script src="/Public/assets/js/toastr/toastr.js"></script>
    <script src="/Public/assets/js/common.js" type="text/javascript" charset="utf-8"></script>
    
    

   
   <script type="text/javascript">
    
    function _attachEvent(obj, evt, func, eventobj) {
				eventobj = !eventobj ? obj : eventobj;
				if(obj.addEventListener) {
					obj.addEventListener(evt, func, false);
				} else if(eventobj.attachEvent) {
					obj.attachEvent('on' + evt, func);
				}
			}
			
			_attachEvent(document.documentElement, 'keydown', resetF5);
			
			function resetF5(e){ 
				e = e ? e : window.event;
				if(e.keyCode == 116){ 
					parent.rightMain.location.reload();
					if(document.all) {
						e.keyCode = 0;
						e.returnValue = false;
					} else {
						e.cancelBubble = true;
						e.preventDefault();
					}

				}	
			}

            var getWindowSize = function() {

               /* return ["Height", "Width"].map(function(name) {

                    return window["inner" + name] ||

                            document.compatMode === "CSS1Compat" && document.documentElement[ "client" + name ] || document.body[ "client" + name ]

                });*/

				//return  document.compatMode;

				return document.documentElement.clientHeight+','+document.documentElement.clientWidth;

            }

			

            window.onload = function() {

                if (!+"\v1" && !document.querySelector) { // for IE6 IE7

                    document.body.onresize = resize;

                } else {

                    window.onresize = resize;

                }

                function resize() {

                    wSize();

                    return false;

                }

            }

            function wSize() {

                //这是一字符串

                var str = getWindowSize();

                var strs = new Array(); //定义一数组

                strs = str.toString().split(","); //字符分割

                var heights = strs[0] - 49, Body = $('body'); //175

                var widths = strs[1] - 224;

                $('#rightMain').height(heights);
                $('#rightMain').width(widths);



            }

            wSize();

		$(".menu-change li a").click(function(){
			  var $this = $(this).parent();
			  $this.siblings().removeClass("on");
			  if($this.hasClass("on")){
			  // $this.removeClass("on");
			  }else{
			   $this.addClass("on");
			  }
		 });

        </script> 
</body>
<!--  /Body -->

<!-- Mirrored from beyondadmin-v1.4.s3-website-us-east-1.amazonaws.com/tables-data.html by HTTrack Website Copier/3.x [XR&CO'2014], Thu, 07 May 2015 08:27:57 GMT -->
</html>